package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * @author lufq
 * @date 2020/9/21
 */
@Table(name = "IDR.DRUG_APPLY_MAIN")
public class DrugApplyMainEntity extends BaseEntity {
    @Id
    @Column(name = "APPLY_ID")
    private String applyId;

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;

    @Column(name = "INPAT_NUM")
    private String inpatNum;

    @Column(name = "WARD_DEPT_ID")
    private String wardDeptId;

    @Column(name = "TYPE")
    private String type;

    @Column(name = "REQ_ID")
    private String reqId;

    @Column(name = "APPLY_TIME")
    private Timestamp applyTime;

    @Column(name = "APPLY_PERSON_ID")
    private String applyPersonId;

    @Column(name = "APPLY_STATUS")
    private String applyStatus;

    @Column(name = "RECEIVED_TIME")
    private Timestamp receivedTime;

    @Column(name = "RECEIVED_PERSON_ID")
    private String receivedPersonId;

    @Column(name = "DELETE_TIME")
    private Timestamp deleteTime;

    @Column(name = "DELETE_PERSON_ID")
    private String deletePersonId;

    @Column(name = "PHARMACY")
    private String pharmacy;

    @Column(name = "BED_NO")
    private String bedNo;

    @Column(name = "PRESC_ID")
    private String prescId;

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    @Override
    public String getHospitalId() {
        return hospitalId;
    }

    @Override
    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getWardDeptId() {
        return wardDeptId;
    }

    public void setWardDeptId(String wardDeptId) {
        this.wardDeptId = wardDeptId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReqId() {
        return reqId;
    }

    public void setReqId(String reqId) {
        this.reqId = reqId;
    }

    public Timestamp getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Timestamp applyTime) {
        this.applyTime = applyTime;
    }

    public String getApplyPersonId() {
        return applyPersonId;
    }

    public void setApplyPersonId(String applyPersonId) {
        this.applyPersonId = applyPersonId;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public Timestamp getReceivedTime() {
        return receivedTime;
    }

    public void setReceivedTime(Timestamp receivedTime) {
        this.receivedTime = receivedTime;
    }

    public String getReceivedPersonId() {
        return receivedPersonId;
    }

    public void setReceivedPersonId(String receivedPersonId) {
        this.receivedPersonId = receivedPersonId;
    }

    public Timestamp getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Timestamp deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getDeletePersonId() {
        return deletePersonId;
    }

    public void setDeletePersonId(String deletePersonId) {
        this.deletePersonId = deletePersonId;
    }

    public String getPharmacy() {
        return pharmacy;
    }

    public void setPharmacy(String pharmacy) {
        this.pharmacy = pharmacy;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getPrescId() {
        return prescId;
    }

    public void setPrescId(String prescId) {
        this.prescId = prescId;
    }

    public DrugApplyMainEntity(){

    }

}
